
class Record:
    """数据记录
    """
    date:str = None     # 日期
    order_id:str = None # 订单编号
    money:int = None    # 金额
    province:str = None # 省份

    def __init__(self:str, date:str, order_id:str, money:int, province:str):
        self.date = date
        self.order_id = order_id
        self.money = money
        self.province = province

    def __str__(self) -> str:
        return f"{self.date}, {self.order_id}, {self.money}, {self.province}"


if __name__ == '__main__':

    record_1 = Record(1, 2, 3, 4)
    print(record_1.date, record_1.order_id, record_1.money, record_1.province)